package com.ys.enu;



public enum ResultCodeEnum {
    success("成功",0),
    fail("失败",0),
    illegalargument("非法参数",0)
    ;

    String msg;
    int code;

    ResultCodeEnum(String msg, int code) {
        this.msg = msg;
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }
}
